package com.times.web.system.entity;

import java.util.Date;

import com.times.core.common.entity.BaseEntity;

/**
 * 系统用户表
 * @author xu
 *
 */
public class User extends BaseEntity{
    
    private final static long serialVersionUID = -4515040794913029278L;

    //--------------------------Base Fields--------------------------
    /**
     * 用户登录名
     */
    public String loginName;
    
    /**
     * 用户登录密码
     */
    public String loginPwd;

    /**
     * 用户类型
     */
    private String userType;

    /**
     * 
     */
    public String companyId;
    
    /**
     * 用户真实姓名
     */
    public String name;

    /**
     * 性别
     */
    public String sex;

    /**
     * 移动电话
     */
    private String mobilePhone;

    /**
     * 办公电话
     */
    private String officePhone;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 头像
     */
    private String photo;

    /**
     * 最后登录IP（登录时候的IP）
     */
    public String lastLoginIp;

    /**
     * 最后登录时间（登录时间）
     */
    public Date lastLoginDate;
    
    /**
     * 用户备注信息
     */
    public String remarks;

    /**
     * 用户状态
     */
    private Short status;

    //-----------------------sertter、getter方法------------------------
    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getOfficePhone() {
        return officePhone;
    }

    public void setOfficePhone(String officePhone) {
        this.officePhone = officePhone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    public Date getLastLoginDate() {
        return lastLoginDate;
    }

    public void setLastLoginDate(Date lastLoginDate) {
        this.lastLoginDate = lastLoginDate;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }
}
